<template>
	<view>
		<!-- cu-custom bgColor="bg-gradual-pink" isCustom="true">
			<view slot="content">操作条</view>
		</cu-custom> -->
		{{datas}}
	</view>
</template>

<script>
	export default {
		data() {
			return {
				datas: '设置',
			}
		},
		methods: {
			async getdata() {
				console.log('----');
				const {
					data: res
				} = await uni.$http.get('/timeable/getTimetableByAutomatic', {
					password: 'fan849744529',
					url: 'http://jwgl.hist.edu.cn/cas/login.action',
					userId: '256',
					username: '20201544111'
				})
				this.datas = res.date.result
				console.log(res);
			},
		},
		onLoad() {
			// this.getdata();
		}
	}
</script>

<style lang="sass">

</style>
